<template>
  <div>
    <nuxt-link to="/parent/child1/thred">
      <div v-if="!this.$route.path.includes('/thred')">
        <h2>第2个导航下的子路由</h2>
        <h2>第2个导航下的子路由</h2>
        <h2>第2个导航下的子路由</h2>
        <h2>第2个导航下的子路由</h2>
      </div>
    </nuxt-link>
    <nuxt-child />
  </div>
</template>
<script>
export default {
  mounted () {
    const baohan = this.$route.path.includes('/thred')
    console.log(baohan, 'j')
  }
}
</script>
<style scoped>

</style>
